package com.wish.finance.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
/*付款状态*/
public enum PayState {
    WFK("未付款", 1),
    YFK("已付款", 2),
    YZZ("已中止", 3),
    YDJ("已冻结", 4);

    PayState(String name, int index) {
        this.name = name;
        this.index = index;
    }

    @JsonValue
    private String name;
    @EnumValue
    private int index;

    public String getName() {
        return name;
    }

    public int getIndex() {
        return index;
    }
}
